package com.example.common.base

sealed class UiState {
    data class OnSuccess<out T>(val data: T, val type: StateType = StateType.DEFAULT) : UiState()
    data class OnError(val msg: String) : UiState()
    data object OnLoading : UiState()
}